home *** CD-ROM | disk | FTP | other *** search
- Path: falcon.arl.psu.edu!rdg
- From: rdg@falcon.arl.psu.edu ()
- Newsgroups: comp.lang.c++
- Subject: Help w/ C++ DLLs and VBasic
- Date: 4 Apr 1996 23:11:29 GMT
- Organization: Applied Research Lab, Penn State University
- Distribution: world
- Message-ID: <4k1kv1$181o@hearst.cac.psu.edu>
- Reply-To: rdg@falcon.arl.psu.edu ()
- NNTP-Posting-Host: flcon.arl.psu.edu
- X-Newsreader: mxrn 6.18-27
-
-
-
- I am trying to create DLLs with MS C++ 4.0 to be used with MS VB 4.0
- The DLLs contain non-windows functions and data. I having been using
- _declspec(dllexport) to specifiy which functions and data items are to
- be exported. Every attempt to date has been flagged by VB with error
- 453 - function not found. This seems to indicate that either the
- function is not being entered into the DLL interface correctly or VB is
- accessing the DLL interface in a manor that is not compatiable with the
- MS extension of dllexport.
-
- I have also tried to use a .def EXPORTS approach using the decorated
- names in lieu of the _declspec(dllexport) approach with no success (same
- error from VB).
-
- Does anyone have any advice on what I may be omitting in the DLL that is
- causing the function not to appear in the DLL interface (at least as far
- as VB is concerned). I have also looked at the DLL with the DOS
- "dumpbin/exports" utility and it shows that the functions have been
- listed as exported from the DLL.
-